package partlow.yelp.datatypes;

import java.util.ArrayList;
import java.util.List;

public class Business implements YelpType {

	private boolean isClosed;
	private String name = "";
	private String mobileURL = "";
	private List<Category> categories = new ArrayList<Category>();
	private YelpLocation location;
	private String snippetText = "";
	private List<YelpDeal> deals = new ArrayList<YelpDeal>();

	public boolean isClosed() {
		return isClosed;
	}

	public void setClosed(boolean isClosed) {
		this.isClosed = isClosed;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getMobileURL() {
		return mobileURL;
	}

	public void setMobileURL(String mobileURL) {
		this.mobileURL = mobileURL;
	}

	public List<Category> getCategories() {
		return categories;
	}

	public void setCategories(List<Category> categories) {
		this.categories = categories;
	}

	public YelpLocation getLocation() {
		return location;
	}

	public void setLocation(YelpLocation location) {
		this.location = location;
	}

	public String getSnippetText() {
		return snippetText;
	}

	public void setSnippetText(String snippetText) {
		this.snippetText = snippetText;
	}

	public List<YelpDeal> getDeals() {
		return deals;
	}

	public void setDeals(List<YelpDeal> deals) {
		this.deals = deals;
	}

	@Override
	public String toString() {
		return "Business [isClosed=" + isClosed + ", name=" + name + ", mobileURL=" + mobileURL + ", categories="
				+ categories + ", location=" + location + ", snippetText=" + snippetText + "]";
	}
}
